/*------------------------------------------------------------------------
# JA Halite - Version 1.0 - Licence Owner JA180572
# ------------------------------------------------------------------------
# JA Joomla! Template Framework  - Version: 1.0
# ------------------------------------------------------------------------
# Copyright (C) 2004 - 2009 J.O.O.M Solutions Co., Ltd. All Rights Reserved.
# @license - Copyrighted Commercial Software
# Author: J.O.O.M Solutions Co., Ltd
# Websites:  http://www.joomlart.com -  http://www.joomlancers.com
# This file may not be redistributed in whole or significant part.
-------------------------------------------------------------------------*/

/* Son of Suckerfish Dropdowns
---------------------------------------------------------
Originally developed by Patrick Griffiths and Dan Webb
http://www.htmldog.com/articles/suckerfish/dropdowns/
---------------------------------------------------------
NOTE: After a deep research, we decide to divide this
CSS into 2 parts. The first part will define the layout.
The second part will define the visual look for this menu.
---------------------------------------------------------*/
#ja-cssmenu {
	margin: 0; /* all lists */
	padding: 0;
}

#ja-cssmenu ul {
	margin: 0; /* all lists */
	padding: 0;
}

#ja-cssmenu li {
	margin: 0; /* all list items */
	padding: 0 10px 0 0;
	float: left;
	display: block;
	background: none;
	cursor: pointer;
}

#ja-cssmenu li ul {
	width: 16.4em;
	position: absolute; /* second-level lists */
	z-index: 99;
	left: -999em; /* using left instead of display to hide menus because display: none isn't read by screen readers */
	height: auto;
	w\idth: 15.9em;
}

#ja-cssmenu li ul ul {
	margin: -2em 0 0 15em; /* third-and-above-level lists */
}

#ja-cssmenu li li {
	padding: 0 0 0 0;
	margin: 0;
	width: 15.9em;
}

#ja-cssmenu ul a {
	width: 14.8em;
	w\idth: 10.8em;
}

#ja-cssmenu li:hover ul ul, #ja-cssmenu li:hover ul ul ul,
#ja-cssmenu li.sfhover ul ul, #ja-cssmenu li.havechildsfhover ul ul, #ja-cssmenu li.havechild-activesfhover ul ul, #ja-cssmenu li.activesfhover ul ul,
#ja-cssmenu li.sfhover ul ul ul, #ja-cssmenu li.havechildsfhover ul ul ul, #ja-cssmenu li.havechild-activesfhover ul ul ul, #ja-cssmenu li.activesfhover ul ul ul {
	left: -999em;
}

/* This "unhides" the sub-menus (left: -999em is what hides them) */
#ja-cssmenu li:hover ul, #ja-cssmenu li li:hover ul, #ja-cssmenu li li li:hover ul,
#ja-cssmenu li.sfhover ul, #ja-cssmenu li.havechildsfhover ul, #ja-cssmenu li.havechild-activesfhover ul, #ja-cssmenu li.activesfhover ul,
#ja-cssmenu li li.sfhover ul, #ja-cssmenu li li.havesubchildsfhover ul, #ja-cssmenu li li.havesubchild-activesfhover ul, #ja-cssmenu li li.activesfhover ul,
#ja-cssmenu li li li.sfhover ul, #ja-cssmenu li li li.havesubchildsfhover ul, #ja-cssmenu li li li.havesubchild-activesfhover ul, #ja-cssmenu li li li.activesfhover ul {
	left: auto;
}

/* STYLING THE MENU
-----------------------------------*/
/* 1st level */
#ja-cssmenu li a {
	background: url(../../images/nav-bg.gif) no-repeat left top;
	color: #999;
	display: block;
	font-weight: bolder;
	padding: 0 0 0 10px;
	text-decoration: none;
}

#ja-cssmenu li a span {
	background: url(../../images/nav-bg.gif) no-repeat right top;
	display: block;
	line-height: 28px;
	padding: 0 10px 0 0;
}

#ja-cssmenu li a:hover,
#ja-cssmenu li a:active,
#ja-cssmenu li a:focus {
	background: url(../../images/nav-active-bg.gif) no-repeat left top;
	color: #fff;
}

#ja-cssmenu li a:hover span,
#ja-cssmenu li a:active span,
#ja-cssmenu li a:focus span {
	background: url(../../images/nav-active-bg.gif) no-repeat right top;
	color: #fff;
}

#ja-cssmenu li:hover,
#ja-cssmenu li.sfhover,
#ja-cssmenu li.havechildsfhover,
#ja-cssmenu li.havechild-activesfhover {}

#ja-cssmenu li.havechildsfhover,
#ja-cssmenu li.havechild-activesfhover {}

#ja-cssmenu li:hover a,
#ja-cssmenu li.sfhover a,
#ja-cssmenu li.havechildsfhover a,
#ja-cssmenu li.havechild-activesfhover a {
	color: #fff;
}

#ja-cssmenu li a.active,
#ja-cssmenu li a.active:hover,
#ja-cssmenu li a.active:active,
#ja-cssmenu li a.active:focus {
	background: url(../../images/nav-active-bg.gif) no-repeat left top;
	color: #fff;
}

#ja-cssmenu li a.active span,
#ja-cssmenu li a.active:hover span,
#ja-cssmenu li a.active:active span,
#ja-cssmenu li a.active:focus span {
	background: url(../../images/nav-active-bg.gif) no-repeat right top;
}

/* 2nd level and above */
#ja-cssmenu li ul {
	background: url(../../images/arrow-up.gif) no-repeat 10px 1px;
	padding-top: 5px;
}

#ja-cssmenu li ul li ul {
	background: url(../../images/arrow-left.gif) no-repeat 11px 10px;
	padding-left: 16px;
	padding-top: 0;
}

#ja-cssmenu li ul li {
	background: #2F2F2F;
	border-bottom: 1px solid #111;
	border-top: 1px solid #3b3b3b;
	display: block;
	margin: 0;
	padding: 0;
}

#ja-cssmenu li ul li.first-item {
	border-top: none;
	-moz-border-radius: 5px 5px 0 0;
	-webkit-border-radius: 5px 5px 0 0;
}

#ja-cssmenu li ul li.last-item {
	-moz-border-radius: 0 0 5px 5px;
	-webkit-border-radius: 0 0 5px 5px;
	border-bottom: none;
}

#ja-cssmenu li ul a,
#ja-cssmenu li.sfhover ul li a  {
	background: none !important;
	border: none;
	color: #999 !important;
	margin: 0;
	padding: 1px 10px;
	line-height: normal;
	background: none;
	font-weight: normal;
}

#ja-cssmenu li ul a span {
	background: none;
}

#ja-cssmenu li.havechildsfhover ul a,
#ja-cssmenu li.havechild-activesfhover ul a {
	background: none;	
}

#ja-cssmenu li.havesubchildsfhover a,
#ja-cssmenu li.havesubchild-activesfhover a {
	background: none !important;
}

#ja-cssmenu li.havesubchild ul a,
#ja-cssmenu li.havesubchild-active ul a,
#ja-cssmenu li.havesubchildsfhover ul a,
#ja-cssmenu li.havesubchild-activesfhover ul a {
	background: none !important;	
}

#ja-cssmenu li ul a:hover,
#ja-cssmenu li ul a:active,
#ja-cssmenu li ul a:focus,
#ja-cssmenu ul li:hover,
#ja-cssmenu ul li.havesubchildsfhover a,
#ja-cssmenu ul li.havesubchild-actives a,
#ja-cssmenu ul li.havesubchild-activesfhover a,
#ja-cssmenu ul ul li:hover,
#ja-cssmenu ul ul li.sfhover a,
#ja-cssmenu ul ul li.havesubchildsfhover a,
ja-cssmenu ul ul li.havesubchild-active a,
#ja-cssmenu ul ul li.havesubchild-activesfhover a {
	color: #fff !important;
}

#ja-cssmenu ul li.sfhover a {
	background: none;
	color: #fff !important;
}

#ja-cssmenu li ul a:hover span,
#ja-cssmenu li ul a:active span,
#ja-cssmenu li ul a:focus span {
	background: none;
}

#ja-cssmenu li ul li.active a,
#ja-cssmenu li ul li.activesfhover a {
	color: #999 !important;
}

#ja-cssmenu li ul li a.active,
#ja-cssmenu li ul li a.active:hover,
#ja-cssmenu li ul li a.active:active,
#ja-cssmenu li ul li a.active:focus {
	background: none !important;
	color: #fff !important;
	font-weight: bold;
}

#ja-cssmenu li ul li a.active span,
#ja-cssmenu li ul li a.active:hover span,
#ja-cssmenu li ul li a.active:active span,
#ja-cssmenu li ul li a.active:focus span {
	background: none !important;
}

